home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group97a.txt
/
000109_icon-group-sender _Fri Apr 11 10:44:43 1997.msg
< prev
next >
Wrap
Internet Message Format
|
2000-09-20
|
1KB
Received: from kingfisher.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Fri, 11 Apr 1997 08:46:48 MST
Received: by kingfisher.CS.Arizona.EDU; (5.65v3.2/1.1.8.2/08Nov94-0446PM)
id AA01154; Fri, 11 Apr 1997 08:46:48 -0700
To: icon-group@cs.arizona.edu
Date: 11 Apr 1997 10:44:43 GMT
From: eddie@tattoo.ed.ac.uk (Eddie Corns)
Message-Id: <5il4mr$gr6@scotsman.ed.ac.uk>
Organization: Edinburgh University
Sender: icon-group-request@cs.arizona.edu
References: <334D453B.72FD@anu.edu.au>
Subject: Re: Records in Icon
Errors-To: icon-group-errors@cs.arizona.edu
Status: RO
Content-Length: 414
Re: checking common elements in a record
Extract all the fields from the record that you want to compare (2 and 4 in
your example) into a set for each record, then compare the sets for a non zero
length intersection. That's assuming you don't care which ones actually
matched. If you wanted that then I suppose comparing each field for
membership of the intersection set would be about the easiest way.
Eddie